from django import template

register = template.Library()


@register.filter()
def smale(value,flag='zh'):
    change = {
        'zh':('女','男','','保密'),
        'en':('Female','Male','','Secrecy'),
    }
    return change[flag][value]
